package com.xmhmyh.generalframework.project.sys.enums;

import com.xmhmyh.generalframework.common.enums.BaseEnums;

/**
 * @Author: 于丁
 * @DateTime: 2020/11/20 4:07 下午
 */
public enum LocationLvl implements BaseEnums {
    PROVINCE(1, "省"),
    CITY(2, "市"),
    DISTRICT(3, "区"),
    TOWN(4, "镇"),
    VILLAGE(5, "村"),
    ;


    private Integer value;
    private String label;

    LocationLvl(Integer value, String label) {
        this.value = value;
        this.label = label;
    }

    @Override
    public int getValue() {
        return value;
    }

    @Override
    public String getLabel() {
        return label;
    }
}
